namespace CWARN_OVERRIDE_CONST {
	class Base {
		virtual void foo() const { }
		virtual void bar() = 0;
	};

	class Child : public Base {
		void foo() {}
		void bar() const {}
	};
}